<template>
    <!-- 待评价 -->
    <div class="single-order">
        <div class="single-left">
            <span class="order-time">下单时间: <span class="order-distance">2023-07-24 16:23:10</span></span>
            <span class="order-time">订单编号: <span class="order-distance">1683392362056908802</span></span>
        </div>
        <div class="single-right">
            <ul class="right-goods">
                <li class="goods-li">
                    <a href="javascript:;" class="goods-img">
                        <img src="../../../../images/order-hu.png" alt="">
                    </a>
                    <div class="goods-introduce">
                        <p class="introduce-top">内置应急逃生工具, 三合一PD快充车载充电器</p>
                        <p class="introduce-bottom">颜色:PD+QC版 (冰川银)</p>
                    </div>
                    <div class="goods-price">¥498</div>
                    <div class="goods-num">x1</div>
                </li>
            </ul>
            <div class="right-status">
                <p class="status-money">待评价</p>
                <p class="status-good">
                    <a href="javascript:;" class="status-link">评价商品</a>
                </p>
            </div>
            <div class="right-price">
                <p class="price-money">¥504</p>
                <p class="price-freight">(含运费：¥6)</p>
                <p class="price-pay">在线支付</p>
            </div>
            <div class="right-all">
                <p class="see-detail">
                    <a href="javascript:;">查看详情</a>
                </p>
                <p class="del-list">
                    <a href="javascript:;">再次购买</a>
                </p>
                <p class="del-list">
                    <a href="javascript:;">申请售后</a>
                </p>
            </div>
        </div>
    </div>
</template>
<style lang="less">
.single-order {
    width: 960px;
    // height: 182px;
    height: 100%;
    margin: 0px auto;
    margin-top: 20px;
    border: 1px solid #F5F5F5;
    box-sizing: border-box;
    .single-left {
        width: 100%;
        height: 50px;
        line-height: 50px;
        padding: 0px 20px;
        font-size: 14px;
        padding: 0px 20px;
        background-color: #F5F5F5;
        .order-time {
            margin-right: 20px;
            .order-distance {
                margin-left: 5px;
            }
        }
    }
    .single-right {
        width: 100%;
        height: 100%;
        padding-right: 20px;
        display: flex;
        // align-items: stretch;
        align-items: center;
        .right-goods {
            width: 500px;
            height: 100%;
            border-left: none;
            font-size: 14px;
            color: #333;
            li:last-child {
                border-bottom: none;
            }
            .goods-li {
                height: 90px;
                padding: 10px;
                box-sizing: border-box;
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: center;
                border-bottom: 1px solid #f5f5f5;
                a {
                    display: inline-block;
                    width: 70px;
                    height: 70px;
                    img {
                        width: 70px;
                        height: 70px;
                    }
                }
                .goods-introduce {
                    width: 219px;
                    height: 70px;
                    .introduce-top {
                        font-size: 14px;
                        color: #333;
                        padding-left: 5px;
                        padding-right: 5px;
                        box-sizing: border-box;
                    }
                    .introduce-bottom {
                        color: #999;
                        font-size: 12px;
                        padding-left: 5px;
                        padding-right: 5px;
                        box-sizing: border-box;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                    }
                }
                .goods-price {
                    width: 100px;
                    height: 70px;
                    line-height: 70px;
                    text-align: center;
                }
                .goods-num {
                    width: 80px;
                    height: 70px;
                    line-height: 70px;
                    text-align: center;
                }
            }
        }
        .right-status {
            width: 120px;
            height: 100%;
            padding: 20px;
            text-align: center;
            align-self: flex-start; 
            .status-money {
                padding-top: 10px;
                font-size: 14px;
                color: #333;
            }
            .status-good {
                padding-top: 10px;
                .status-link {
                   color: #27BA9B; 
                   font-size: 14px;
                   text-decoration: none;
                }
            }
        }
        .right-price {
            width: 200px;
            height: 100%;
            padding: 20px;
            text-align: center;
            align-self: flex-start;
            .price-money {
                padding-top: 10px;
                color: #CF4444;
                font-size: 14px;
            }
            .price-freight {
                padding-top: 10px;
                font-size: 14px;
                color: #333;
            }
            .price-pay {
                padding-top: 10px;
                font-size: 14px;
                color: #333;
            }
        }
        .right-all {
            align-self: flex-start;
            width: 140px;
            height: 100%;
            padding: 20px;
            box-sizing: border-box;
            .see-detail {
                padding-top: 10px;
                text-align: center;
                a {
                    text-decoration: none;
                    color: #333;
                    font-size: 14px;
                }
            }
            .del-list {
                padding-top: 10px;
                text-align: center;
                a {
                    text-decoration: none;
                    color: #333;
                    font-size: 14px;
                }
            }
       }
    }
}
</style> 